import { axios } from '@/utils/request'

export function queryAllPoint (parameter) {
  return axios({
    url: '/point/queryAllPoint',
    method: 'post',
    data: parameter
  })
}

export function addPoint (parameter) {
  return axios({
    url: '/point/add',
    method: 'post',
    data: parameter
  })
}

export function editPoint (parameter) {
  return axios({
    url: '/point/update',
    method: 'post',
    data: parameter
  })
}

export function removePoint (parameter) {
  return axios({
    url: '/point/remove',
    method: 'post',
    data: parameter
  })
}

export function querySubject (parameter) {
  return axios({
    url: '/point/query',
    method: 'post',
    data: parameter
  })
}
